package day1;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Score {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("请输入分数：");
        int score = in.nextInt();
        if (score > 90) {
            System.out.println("A+");
        } else if (score > 70&&score <=80) {
            System.out.println("B");
        } else if (score > 80) {
            System.out.println("A");
        } else if (score >= 60) {
            System.out.println("C");
        } else {
            System.out.println("D");
        }
    }
}
